const express = require('express')

const app = express()

const router = require('./03router')
//app.use 的作用：注册全局中间件
app.use(router)

app.listen(80,()=>{
    console.log("server run at http://127.0.0.1:80");
})